//处理学员数据录入--相关的数据库操作代码逻辑
var mongoose = require('mongoose')

var Schema = mongoose.Schema

var stuSchema = new Schema({  //创建表结构对象
    name:String,
    age:Number,
    score:Number,
    skill:Array
})
var stuModel = mongoose.model('stuModel',stuSchema) //用以操作表的数据模型对象

module.exports = stuModel